# -*- coding: utf-8 -*-
"""
@version: 1.0
@author: Pyma
@file: serializers
@time: 2019/11/17 11:07
"""

from rest_framework import serializers
from .models import User

class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = ('uid','telephone','username','email','is_staff','is_active')